From 81f16c9023a6bfecd55bcbb6a7e4912b3681e908 Mon Sep 17 00:00:00 2001 From: "iap10@freefall.cl.cam.ac.uk" Date: Sun, 15 May 2005 05:27:55 +0000 Subject: [PATCH] bitkeeper revision 1.1159.258.127 (4286dddb-5dYH1S3phGceqJNfCfQbg) update xen-clone (nightly build script) to cope with trees with new kernel symlinks --- tools/misc/xen-clone | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/misc/xen-clone b/tools/misc/xen-clone index 3fac8109f1..f509da73bf 100755 --- a/tools/misc/xen-clone +++ b/tools/misc/xen-clone @@ -82,8 +82,14 @@ then make -j4 world make -j4 linux24 cd ../install/boot - [ -r vmlinuz-2.6.*-xen0 ] && ln -s vmlinuz-2.6.*-xen0 xenolinux.gz - + if [ -r vmlinuz-2.6-xen0 ] + then + ln -s vmlinuz-2.6-xen0 xenolinux.gz + else + kern=`ls vmlinuz-2.6.*-xen0 | head -1` + [ -r "$kern" ] && ln -s "$kern" xenolinux.gz + fi + else # old style repository without 'make world' -- 2.30.2